package cn.kpi.dao.usualassessment;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.usualassessment.UsAssTemplateEntity;
import cn.kpi.entity.usualassessment.UserUsAssTempEntity;

@MyBatisDao
public interface UserTempDao {

	public List<UsAssTemplateEntity> GetUsAssTemplateListByWhere(@Param("where") String where, @Param("beginrow") int beginrow, @Param("endrow") int endrow)throws Exception;
	
	public int GetUsAssTemplateListCountByWhere(@Param("where") String where)throws Exception;
	
	public List<UserUsAssTempEntity> GetUserUsAssTempListByWhere(@Param("where") String where, @Param("beginrow") int beginrow, @Param("endrow") int endrow)throws Exception;
	public int GetUserUsAssTempListCountByWhere(@Param("where") String where)throws Exception;
	
	
	public int InsertTemplateEntity(UsAssTemplateEntity entity)throws Exception;
	
	public List<UserUsAssTempEntity> GetUserGroupListByWhere(@Param("where") String where)throws Exception;
}
